<?php
// +---------------------------------------------------------------------------+
// | This file is part of the KnowledgebasePublisher package                   |
// | KnowledgebasePublisher - web based knowledgebase publisher tool           |
// |                                                                           |
// | Author:  Evgeny Leontev <eleontev@gmail.com>                              |
// | Copyright (c) 2005 Evgeny Leontev                                         |
// |                                                                           |
// | For the full copyright and license information, please view the LICENSE   |
// | file that was distributed with this source code.                          |
// +---------------------------------------------------------------------------+


require_once 'config.inc.php';
require_once 'eleontev/HTML/tplTemplatez.php';

$main_frame_src = 'index.php?module=knowledgebase&page=knowledgebase';
if(isset($_GET['ref'])) {
	require_once 'eleontev/Assorted.inc.php';
	$params = WebUtil::unserialize_url($_GET['ref']);
	$main_frame_src = 'index.php?' . $params;
}


$tpl = new tplTemplatez(APP_TMPL_DIR . 'go.html');

$tpl->tplAssign('title', $conf['product_name']);
$tpl->tplAssign('top_frame_src', 'top_navigation.php');
$tpl->tplAssign('main_frame_src', $main_frame_src);

$tpl->tplParse();
$tpl->tplPrint();
?>